﻿package  {
	
	import flash.display.MovieClip;
	import flash.events.Event;
	
	//sss
	public class Star extends MovieClip {
		
		private var speed:Number=Math.random()*2+4;
		public function Star() {
			
			
		}
		public function moves():void
		{
			this.rotation+=10;
			this.y+=speed;
			if(this.y>550)
			{
				this.x=Math.random()*550;
				this.y=0;
			}
			
		}
	}
	
}
